#if !defined(ximera_gui_ilistbox_hpp)
#define ximera_gui_ilistbox_hpp

// -----------------------------------------------------------

#include <ximera/gui/iwindow.hpp>

namespace ximera { namespace gui
{
    class XIMERA_API IListbox : public IWindow
    {
    public:
        virtual ~IListbox();

        virtual UInt32 itemCount() const = 0;
        
        virtual void addItem(String const& text) = 0;
        virtual void removeItem(UInt32 index) = 0;
        virtual void removeAllItems() = 0;

        virtual Int32 selectedIndex() const = 0;
    };
}}

// -----------------------------------------------------------

#endif
